package com.project.easy.common.log.annotation;

import java.lang.annotation.*;

/**
 * @ClassName Logger
 * @Description
 * @Author GreatorMan.cool
 * @Date 2021/3/19 10:16
 * @Version 1.0
 **/
@Target(value = {ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Logger {
    /**
     * @return 是否入数据库
     */
    boolean hasDb() default  true;
    /**
     * @return 模块
     */
    String model() default "default";
}
